--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 2d1828513faa1a7e7c0abf98cbcc2db14f2b4bf6
Parents : 505176b
Author : Mark Qvist <mark@unsigned.io>
Date : 2022-04-13T11:14:41+02:00
Fixed destination type reference
Changes
Diff
diff --git a/LXMF/LXMF.py b/LXMF/LXMF.py
index b47195e..c547ff8 100644
--- a/LXMF/LXMF.py
+++ b/LXMF/LXMF.py
@@ -308,7 +308,7 @@ class LXMessage:
if self.__destination.type == RNS.Destination.SINGLE:
self.transport_encrypted = True
self.transport_encryption = LXMessage.ENCRYPTION_DESCRIPTION_EC
- elif destination_type == RNS.Destination.GROUP:
+ elif self.__destination.type == RNS.Destination.GROUP:
self.transport_encrypted = True
self.transport_encryption = LXMessage.ENCRYPTION_DESCRIPTION_AES
else:
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────